Package edu.claflin.finder.io.graph.sub
Interface GraphReader
- All Known Implementing Classes:
SIFGraphIO,SimpleGraphIO
public interface GraphReader
Interface used for classes designed to read graphs from memory.
- Version:
- 3.0 May 20, 2015
- Author:
- Charles Allen Schultz II
-
Method Summary
Modifier and TypeMethodDescriptionparseGraph(File source, boolean undirected) Reads a graph from memory.
-
Method Details
-
parseGraph
Reads a graph from memory.- Parameters:
source- the File object pointing to the graph in memory to read.undirected- a boolean indicating if the graph should be interpreted as undirected.- Returns:
- the
Graphobject read from memory.
-